home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / answers / elm / FAQ next >
Encoding:
Text File  |  1993-05-18  |  35.2 KB  |  893 lines

  1. Newsgroups: comp.mail.elm,comp.answers,news.answers
  2. Path: senator-bedfellow.mit.edu!enterpoop.mit.edu!spool.mu.edu!dsinc!ub!zaphod.mps.ohio-state.edu!malgudi.oar.net!caen!batcomputer!ghost.dsi.unimi.it!ghost.dsi.unimi.it!serini
  3. From: serini@ghost.dsi.unimi.it (Piero Serini)
  4. Subject: Elm Mail User Agent FAQ - monthly posting
  5. Followup-To: poster
  6. Approved: news-answers-request@MIT.Edu
  7. Sender: serini@ghost.dsi.unimi.it (Piero Serini)
  8. Organization: Computer Science Dep. - Milan University
  9. Date: Tue, 18 May 1993 17:54:00 GMT
  10. Message-ID: <1993May18.175400.26129@ghost.dsi.unimi.it>
  11. Summary: This posting contains a list of Frequently Asked
  12.          Questions (and their answers) about the Elm Mail
  13.      User  Agent.  It  should  be read by  anyone who
  14.      wishes to post to the comp.mail.elm newsgroup.
  15. Expires: Fri, 18 Jun 1993 17:54:01 GMT
  16. Reply-To: Elm-FAQ@ghost.dsi.unimi.it
  17. Lines: 870
  18. Xref: senator-bedfellow.mit.edu comp.mail.elm:10319 comp.answers:754 news.answers:8625
  19.  
  20. Archive-name: elm/FAQ
  21. Last-modified: 1993/4/27
  22. Version: 2.0
  23.  
  24.  
  25.                         Frequently Asked Questions
  26.                                 Elm 2.4 [21]
  27.  
  28.  
  29.                                 Piero Serini
  30.                          serini@ghost.dsi.unimi.it
  31.                        piero@strider.st.dsi.unimi.it
  32.  
  33.                            Last Update: Apr 26 1993
  34.                           This FAQ's version:  2.0
  35.  
  36. This is an unofficial Frequently Asked Questions (with answers) list
  37. about Elm. Syd Weinstein kindly checked this, but he is not responsible
  38. for the errors in the answers, which are my fault, unless otherwise
  39. specified.  I do NOT claim to be a member of the Elm Development Group.
  40.  
  41.  
  42. 0.0     Organization
  43.  
  44.     This FAQ is posted monthly, the 15th, on news.answers,
  45.     comp.answers and comp.mail.elm.
  46.     It is available by anonymous ftp from ghost.dsi.unimi.it
  47.     [149.132.2.1]: ~ftp/pub/Elm/.
  48.     It is also available upon mail request.
  49.  
  50.     This FAQ is NOT reposted if modified, until the next issue
  51.     date. I will modify the ftp file only.  I suggest using ftp
  52.     to get the latest version of this document.
  53.  
  54.     This FAQ refers to latest patchlevel I put my hands on.
  55.     Questions about a specific patchlevel are kept if
  56.     of common interest.
  57.     
  58.  
  59.         This FAQ consists of five parts:
  60.         0.*     Organization.
  61.         1.*     Operational Questions (and answers).
  62.         2.*     Installation Questions (and answers).
  63.     3.*    Bugs list.
  64.         4.*     Archivers, what they archive, how to download.
  65.  
  66.  
  67. Here is an (incomplete) questions list, followed by an (incomplete)
  68. answers part. This list (and answers) are now divided into two
  69. major groups, the "operational" one and the "installation" one.
  70. The "operational group" is dedicated to those having any problem
  71. running Elm. The "installation group" is dedicated to those who
  72. want to install Elm and don't succeed in.
  73. The operational questions group also contains a few general questions,
  74. like "What is Elm?"
  75.  
  76. Please, mail me any comment, suggestion, correction
  77. to any of the addresses above, with Subject: Elm-FAQ
  78. Answers are from the "Elm montly posting" or from comp.mail.elm
  79. and proper credit is given before each answer.
  80.  
  81. 1.0     Operational Questions
  82.  
  83.     1.01    What is Elm?
  84.     1.02    Which is Elm current version?
  85.     1.03    Where can I find the distribution?
  86.     1.04    Where do I get the "Elm Reference Guide" and the other docs ?
  87.     1.05    How to get frm(1L) to only show new mail?
  88.     1.06    My incoming mailbox isn't /usr/mail/<logname>:
  89.     1.07    How do I save a message without deleting it?
  90.     1.08    How do I append a .signature?
  91.     1.09    Why do I get the remote signature on replies to local mail?
  92.     1.10    How can I get elm to NOT expand the alias list on outgoing msgs?
  93.     1.11    How does one mark a message as urgent?
  94.     1.12    How can I get a line like "Quoting foo:" before a replied-to mail?
  95.     1.13    How do i customize the ">" sign ??
  96.     1.14    When I receive uudecoded files, can I tag files in the order
  97.                 I want and then uudecode them?
  98.     1.15    Is there any way to bounce all the tagged messages, i.e.
  99.                 not having to bounce every message one by one?
  100.     1.16    Does ELM have MIME (metamail) support?
  101.     1.17    How not to include headers in outward bound mail?
  102.     1.18    Is it possible to save mail messages without the headers?
  103.     1.19    How do I upgrade my ELM aliases from 2.3 to 2.4PL21 ?
  104.     1.20    Elm seems to ignore HOME environment variable. Why?
  105.     1.21    Sometimes Elm (PL < 21) seems to join two messages in one. Why?
  106.     1.22    How can ELM 2.3 be used for an automatic reply?
  107.     1.23    How to list your mail from the oldest to the newest?
  108.     1.24    How to use elmheaders file?
  109.     1.25    How to change the Full Name in sent mail ?
  110.     1.26    "Alias too long" or string too long errors.
  111.     1.27    How to crypt mail in elm ?
  112.     1.28    8 bit characters configuration?
  113.     1.29    Sun mailtool attachments and elm?
  114.     1.30    Is there an Elm for DOS? If yes, where?
  115.  
  116. 2.0    Installation Questions
  117.  
  118.     2.01    On SCO Xenix, all mail is from user anonymous. Why?
  119.     2.02    Elm doesn't work on Next. Why?
  120.     2.03    Compiling with Microsoft UNIX C Compilers won't work. Why?
  121.     2.04    Various problems on Unix 286.
  122.     2.05    Configure won't run on HP-UX. Why?
  123.     2.06    Configure won't run on SCO XENIX 2.2.1. Why?
  124.     2.07    Will Elm work on SGI Indigo?
  125.     2.08    I have problems compiling elm2.4 on HP/Apollo
  126.     2.09    I have problems compiling elm2.4 on IBM AIX
  127.     2.10    Compiling elm 2.4 under NS 3.0
  128.     2.11    Elm sends 'empty mail' on 386BSD: why?
  129.     2.12    Why can't I get SGI to work for non ROOT?
  130.     2.13    I have problems p)rinting messages in 2.4PL20
  131.     2.14    Elm2.4 PL20 - 'x' key causes segmentation violation
  132.     2.15    readmsg:illegal option -- I. Why?
  133.     2.16    Forms don't work. Why?
  134.     2.17    ELM does not recognize VMS mail. Why?
  135.     2.18    Huge headers cause Memory Fault. Why?
  136.     2.19    Can I use elm for posting and replying to news?
  137. 1.xx    Operational Answers
  138.  
  139. 1.01    What is Elm?
  140.  
  141.     From Elm documentation:
  142.         Currently on Unix, there seems to be a preponderence
  143.     of line-oriented software.  This is most unfortunate as most
  144.     of the software on Unix tends to be pretty darn hard to use!
  145.     I believe that there is more than a slight correlation between
  146.     the two, and, since I was myself having problems using
  147.     "mailx" with high-volume mail, I created a new mail system.
  148.  
  149.         In the lingo of the mail guru, Elm is a "User Agent" system,
  150.         it's designed to run with "sendmail" or "/bin/rmail" or any
  151.     other UNIX Mail Transport Agent (according to what's on your
  152.     system) and is a full replacement of programs like "/bin/mail"
  153.     and "mailx".  The system is more than just a single program,
  154.     however, and includes programs like "frm" to list a 'table
  155.     of contents' of your mail, "printmail" to quickly paginate mail
  156.     files (to allow 'clean' printouts), and "autoreply", a system-
  157.     wide daemon that can autoanswer mail for people while they're
  158.     on vacation without having multiple copies spawned on the system.
  159.  
  160. 1.02    Which is Elm current version?
  161.  
  162.     Elm current version is 2.4 PatchLevel (PL) 21.
  163.  
  164. 1.03    Where can I find the distribution?
  165.  
  166.     There's a list of sites distributing Elm at the bottom of this
  167.         file (4.*     Archivers, what they archive, how to download.).
  168.     In addition, new releases will be posted to comp.sources.unix,
  169.     patches will be posted to comp.sources.bugs.
  170.     After patches have been proven and out for a while, they will
  171.     be posted to comp.sources.unix.
  172.  
  173. 1.04    Where do I get the "Elm Reference Guide" and the other docs ?
  174.  
  175.         From the monthly posting:
  176.         Elm has several documents (over 100 pages worth of doc)
  177.         that were written to help users install, support and use Elm.
  178.         These are in the doc directory of the source distribution.
  179.         Contact your systems administrator for a copy of the documents.
  180.         For those sites that do not have troff (either di-troff or
  181.         o-troff) and do have postscript printers, dsinc (dsinc.dsi.com)
  182.         has a copy of the docs already in postscript format available
  183.         for anonymous uucp or ftp.
  184.  
  185.     Adam Lasnik (keys@nwu.edu):
  186.     [about TEXT documentation]
  187.     So, anyone who wants them, they're available for FTP on
  188.     raven.alaska.edu in /pub/elmguidespl21.  The files are gzipped;
  189.     if that's a problem I will replace them with compressed editions.
  190.  
  191. 1.05    How to get frm(1L) to only show new mail?
  192.  
  193.     * Alan Thew (alan.thew@liverpool.ac.uk):
  194.     Try the fromwho program which IMHO is better tham frm and
  195.     allows you to type  "fromwho -n"  to show who has sent you
  196.     new mail amd what the subject line is.
  197.     Availabe from comp.sources.unix archives and needs an ANSI C compiler
  198.     (but will build on Suns with "unproto" software).
  199.  
  200.     * Syd Weinstein (syd@DSI.COM):
  201.     Better answer:
  202.         use nfrm, it will only show new mail.  nfrm is a link to frm.
  203.         There are other command line options to show various restrictions
  204.         see the frm(1) manual page.
  205.         possible status limitations are new, unread and old or any combination
  206.         of these.  typing frm -h yields:
  207.  
  208.     frm -- list from and subject lines of messages in mailbox or folder
  209.     Usage: frm [-n] [-v] [-s {new|old|read}] [filename | username] ...
  210.  
  211.     option summary:
  212.     -h      print this help message.
  213.     -n      display the message number of each message printed.
  214.     -Q      very quiet -- no output is produced.  This option allows shell
  215.         scripts to check frm's return status without having output.
  216.     -q      quiet -- only print summaries for each mailbox or folder.
  217.     -S      summarize the number of messages in each mailbox or folder.
  218.     -s    status only select messages with the specified status.
  219.         'status' is one of "new", "old", "unread" (same as "old"),
  220.         or "read".  The first letter need only be specified.
  221.     -v      print a verbose header.
  222.  
  223. 1.06    My incoming mailbox isn't /usr/mail/<logname>:
  224.         how do I get ELM to read the correct mailbox?
  225.  
  226.     Elm uses the MAIL environment variable to read the correct
  227.     mailbox.
  228.  
  229. 1.07    How do I save a message without deleting it?
  230.  
  231.     C)opy it instead of s)aving.
  232.  
  233. 1.08    How do I append a .signature?
  234.  
  235.     Jeff Zabek (jeff@titan.ucs.umass.edu) and
  236.     the Elm documentation:
  237.     Create a file called .signature.  Then in the .elm/elmrc file, find
  238.     the following two lines:
  239.     # local ".signature" file to append to appropriate messages...
  240.     localsignature = .signature
  241.              ^^^^^^^^^^
  242.     # remote ".signature" file to append to appropriate messages...
  243.     remotesignature = .signature
  244.               ^^^^^^^^^^
  245.     The parts marked by ^^^^^ are what you have to add in.  This can be
  246.     any text file, but usually signatures are 4 lines or less.
  247.  
  248. 1.09    Why do I get the remote signature on replies to local mail?
  249.  
  250.         From the monthly posting:
  251.         In Elm 2.4, any address with an ! or @ in it is considered
  252.         remote, without those characters, its local.
  253.         Any reply is qualified to prevent alias expansion.  If you had
  254.         an alias in your private Elm aliases that matched the name of a
  255.         user on your system, but that alias did not point to that user,
  256.         there would be no way to reply to the message.  It would end up
  257.         going to the alias name, not the user that mailed you.  To
  258.         prevent this, Elm fully qualifies (adds the site name) to a
  259.         reply address.  This makes the simplistic signature detector
  260.         think that the message is 'remote'. This is not slated to
  261.         change until 3.0.
  262.  
  263. 1.10    How can I get elm to NOT expand the alias list on outgoing msgs?
  264.  
  265.         From the monthly posting:
  266.     Problem is if a list has, say, 100 names in it then sending to
  267.     the list expands every single one of the 100 names. I would like
  268.     the message to have the "To" line = the name of the list itself
  269.     and have the actual recipients' names not appear.
  270.         You can't and don't want to. (and yet you can also) An alias is
  271.         a mechanism of making Elm address a message to multiple
  272.         people.  However, when the message gets to its destination, Elm
  273.         also has to allow that person do a group reply.  If the message
  274.         only has your local private elm alias in it, the group reply
  275.         will try and go to that alias name.  Unfortunately, that name
  276.         is meaningless to that other person (its private to both Elm
  277.         and you).
  278.  
  279.         There are two solutions:
  280.  
  281.         The preferred if replies are desired:
  282.                 Have your mail administrator create a file include
  283.                 alias for you in your MTA (sendmail, et al).. This is
  284.                 usually of the type
  285.  
  286.         alias   :include:/some/path/to/a/file
  287.  
  288.         where the file would be in a place you control and you have write
  289.     access to the file.  Then you can add/drop members of the list, and
  290.         the mail just goes to the alias, and, someone sending to
  291.         alias@your.system will be able to send to all members. (group
  292.         reply works correctly)
  293.  
  294.         The less preferred method: (no group reply is possible)
  295.                 Send the message to yourself, with a bcc to the Elm
  296.                 alias.
  297.         Of course, the Bcc: won't be expanded by the MTA internal to
  298.         the message, so it won't appear in the message.
  299.  
  300. 1.11    How does one mark a message as urgent?
  301.  
  302.     David W. Tamkin (dattier@genesis.MCS.COM):
  303.     Having an Action: header sets the recipient's A flag (if the recipient
  304.     uses Elm); in 2.3 have a Priority: header set the U flag no matter what
  305.     it said (even "Priority: none" or "junk" or "low").  In 2.4 there are
  306.     certain precoded Priority: values that do not turn on the U flag
  307.     [Can anyone supply a list?], but anything else will.
  308.  
  309. 1.12    How can I get a line like "Quoting foo:" before a replied-to mail?
  310.  
  311.     Joshua A. Laff (laff@cs.uiuc.edu):
  312.     from $HOME/.elm/elmrc:
  313.     # attribution string for replies ('%s' is the author of original
  314.     # message)
  315.     attribution = In our previous episode, %s said:
  316.  
  317. 1.13    How do i customize the ">" sign ??
  318.  
  319.     Sven Guckes (guckes@math.fu-berlin.de):
  320.     You can edit the "quote prefix" by editing the "elmrc"
  321.     ($HOME/.elm/elmrc). Just change the value of the variable "prefix".
  322.  
  323.     # prefix sequence for indenting included message text
  324.     prefix = >_
  325.  
  326.     Note:  The '_' stands for a <space>.
  327.  
  328. 1.14    When I receive uudecoded files, can I tag files in the order
  329.         I want and then uudecode them?
  330.  
  331.     * Alan Edmonds (alan@ernest.itg.ti.com):
  332.     I save all of the items into a single folder,
  333.     order not important (yet).  Bring up elm on the single folder.
  334.     Go to the options screen and select "Sort by Subject."  Go back
  335.     to the main screen.  All of the items are (usually) in the
  336.     proper order.  I can then tag related messages and save them
  337.     (in order) to another folder.  I then run
  338.     'uucat new_folder | uudecode' to decode the pieces.  Works great.
  339.     I can go back to the original folder if something gets messed up.
  340.     I don't have to trim the headers out of each part (uucat does this),
  341.     and elm figures out the order for me.
  342.     (Ask Alan Edmonds for uucat source.)
  343.  
  344.     * Steve Faiwiszewski (stevef@bony1.bony.com):
  345.     UUdecode expects to decode a single uuencoded file. It
  346.     knows nothing about multiple parts, and certainly has no knowledge
  347.     of the correct sequencing.
  348.     Here's what I do:  Typically, I receive a multipart uuencoded file
  349.     with the subject line of each msg containing the part number, so I can
  350.     get the parts ordered properly by telling Elm to sort by Msg
  351.     Subject.  I then save all the parts to a folder, and run it through
  352.     this program I found a long time ago, called unpack (source follows).
  353.     The neat thing about this program, is that you can append many
  354.     uuencoded files to the same folder, and unpack will do the right
  355.     thing - as long as all the parts are ordered correctly, and the
  356.     "begin" line of each part 1 contains a unique file name.
  357.     Invoke it like this: "unpack < foldername"
  358.     I guess tagging and piping should work with it too.
  359.     (Ask Steve Faiwiszewski for unpack source.)
  360.  
  361. 1.15    Is there any way to bounce all the tagged messages, i.e.
  362.     not having to bounce every message one by one?
  363.  
  364.     Chip Rosenthal (chip@chinacat.unicom.com):
  365.     Save the following to a script in your personal bin directory,
  366.     say `bounce':
  367.  
  368.         : use /bin/sh
  369.         : ${ELMSTATE?} ${1?}
  370.         sed -n -e 's/^S//p' $ELMSTATE | while read mssgno ; do
  371.                 echo "Bouncing message $mssgno to $@ . . ."
  372.                 readmsg -a $mssgno | rmail $@
  373.         done
  374.  
  375.     When you run:  !bounce addr ...
  376.     then all of the tagged messages will be bounced to the indicated
  377.     address(es). If no messages are tagged, then the currently selected
  378.     message will be bounced.
  379.  
  380.  
  381. 1.16    Does ELM have MIME (metamail) support?
  382.  
  383.     MIME allows for sending and receiving of Messages compliant
  384.     to the Multipurpose Internet Mail Extension (RFC 1341).
  385.     MIME provides a way to attach binary, graphic, audio,
  386.     video, postscript and other files. MIME doesn't necessarily
  387.     need graphics capabilities on your display, but its useful.
  388.  
  389.     If you have intalled Nathaniel Borenstein's metamail package for
  390.     displaying MIME messages, elm can make use of it.  If you didn't
  391.     have metamail installed you might want to obtain a copy of it.
  392.     The most recent version is on thumper.bellcore.com [128.96.41.1].
  393.  
  394.     Compiling of elm even with MIME support enabled would not
  395.     depend on the metamail package. But you would not be able to
  396.     use nearly all of the MIME features as long as you don't have
  397.     metamail installed. Metamail with its companion programs
  398.     (mmencode) must be installed somewhere in the search path,
  399.     usually /usr/local/bin.
  400.  
  401. 1.17    How not to include headers in outward bound mail?
  402.  
  403.     Problem:
  404.     all outward bound mail still includes the following lines,
  405.     even if I have the "noheader = ON" line in my .elmrc:
  406.  
  407.     X-Mailer: ELM [version 2.4 PL21]
  408.     MIME-Version: 1.0
  409.     Content-Type: text/plain; charset=US-ASCII
  410.     Content-Transfer-Encoding: 7bit
  411.     Content-Length: 67
  412.  
  413.     Syd Weinstein (syd@DSI.COM):
  414.     "noheader = ON" means when the message is copied into the buffer
  415.     for a reply or forward.
  416.     The "X-Mailer:" header is controlled at Configure time.  There
  417.     is a compile time option to produce or not produce it.
  418.     The three "Content-*" headers are always going to be produced by 2.4.
  419.  
  420. 1.18    Is it possible to save mail messages without the headers?
  421.  
  422.     * Chip Rosenthal (chip@chinacat.unicom.com):
  423.     Use: !readmsg -n >filename
  424.     If you want to save a few keystrokes, you can encapsulate this
  425.     in a shell script to go in your personal bin directory.
  426.  
  427.     * Syd Weinstein (syd@DSI.COM):
  428.     Note that some of the newer features of readmsg are only
  429.     available in later 2.4 releases
  430.  
  431. 1.19    How do I upgrade my ELM aliases from 2.3 to 2.4PL21 ?
  432.  
  433.         Syd Weinstein (syd@DSI.COM):
  434.     All I did, was make sure 2.4 as installed, and then had each
  435.     user run newalias and I ran newalias -g.  The aliases.text
  436.     file is upwards compatible.  The old newalias converted
  437.     aliases.text to aliases.data and aliases.hash the 2.4 newalias
  438.     converts aliases.text to aliases, aliases.dir and aliases.pag.
  439.     If you don't have those three new files, you didn't install
  440.     2.4 correctly and are still running 2.3's newalias.
  441.  
  442. 1.20    Elm seems to ignore HOME environment variable. Why?
  443.  
  444.         Syd Weinstein (syd@DSI.COM):
  445.     This is a feature.  Elm ignores $HOME, so that when su'd you read
  446.     the right mail file.  Its a choice of one or the other and we chose
  447.     to allow su over $HOME.
  448.  
  449. 1.21    Sometimes Elm (PL < 21) seems to join two messages in one. Why?
  450.  
  451.         Syd Weinstein (syd@DSI.COM):
  452.     Early versions of Elm 2.4 had a problem with messages with bad content
  453.     length headers. I'd update to a more recent version when 21 comes out
  454.     in a bit.
  455.  
  456.     Compiler's Note: now 21 is out. I chose to report this Question
  457.     as it is so a strange behaviour (mail still reads the mailbox
  458.     correctly) a person can get mad about it :)
  459.  
  460. 1.22    How can ELM 2.3 be used for an automatic reply?
  461.  
  462.     Tim McNeil (sps@bml4380.cpg.cdc.com):
  463.     You need to install the "auto reply daemon" supplied with elm
  464.         and then make use of the autoreply command.
  465.  
  466. 1.23    How to list your mail from the oldest to the newest?
  467.  
  468.     Arnaud Girsch (Arnaud.Girsch@INSA-Lyon.FR):
  469.     You can change the sortby= in your .elm/elmrc file, or change in menu
  470.     (O)ption, and then (S)orting criteria .... It allows you to choose
  471.     lots of different order .. and  you can choose whatever you want
  472.  
  473. 1.24    How to use elmheaders file?
  474.  
  475.     Arnaud Girsch (Arnaud.Girsch@INSA-Lyon.FR):
  476.     You only have to create a file named elmheaders, a text file 
  477.     where you put all the lines you want to be seen in the header !
  478.     If you redefine an existing header, it'll take it's place.
  479.     Example: if you want to redefine your Reply-To: header,
  480.     just create the file with the first line:
  481.         Reply-To: myaddress@node.domain.country
  482.  
  483. 1.25    How to change the Full Name in sent mail ?
  484.  
  485.     with /bin/sh : $ NAME="foo" ; export NAME
  486.     with /bin/csh: > setenv NAME "foo"
  487.  
  488. 1.26    "Alias too long" or string too long errors.
  489.  
  490.     Errors are to be expected when trying to expand very long
  491.     aliases, mailing lists, and so on. This error is due
  492.     to the fixed lenght strings in Elm 2.xx, and will not
  493.     be fixed until 3.xx is released.
  494.  
  495. 1.27    How to crypt mail in elm ?
  496.  
  497.     Sven Guckes (guckes@math.fu-berlin.de):
  498.     You need these two "keylines":
  499.     [encode]
  500.     and
  501.     [clear]
  502.  
  503.     Just put your top secret messages in between these two lines.
  504.     See the "ELM Reference Guide", "5. Special Outgoing Mail Processing"
  505.     for an example.
  506.  
  507.     For all folks outside the US I might quote that little footnote:
  508.     "Unfortunately, at many non-US sites, it's quite probable that
  509.     you won't be able to use this feature since you won't have the
  510.     crypt() library available due to licensing restrictions."
  511.  
  512. 1.28    8 bit characters configuration?
  513.  
  514.     Hakan Sjogren (hakan@Sweden.Prime.COM)
  515.     reports both the problem and the solution:
  516.  
  517.     PROBLEM: When receiving mails having swedish characters
  518.     the display of these national characters on the terminal are wrong
  519.     when using ELM.  If I add the line
  520.     Content-type: text/plain charset=iso-8859-1
  521.     into this received mail, ELM displays correctly.
  522.     Since this is a normal situation I would assume ELM to display
  523.     full 8bit characters if the mail bandwith is set to 8bit.
  524.  
  525.     SOLUTION: The solution to this problem was to set the environment
  526.     variable LC_CTYPE=iso_8859_1 .
  527.  
  528. 1.29    Sun mailtool attachments and elm?
  529.  
  530.     Kurt Swanson (kurt@dna.lth.se):
  531.     > Has anyone hacked elm to support the Sun attachment
  532.     > style in the Openwindow's Mailtool?
  533.     This is handled by metamail, not well, unfortunately,
  534.     but handled that way in any case...
  535.  
  536. 1.30    Is there an Elm for DOS? If yes, where?
  537.  
  538.         * Mike O'Connor (mjo@msen.com):
  539.         There is a package called PC-Elm that's an imitation of Elm (i.e. it
  540.         didn't come from Elm's source tree). It's available for anonymous FTP
  541.         from oak.oakland.edu:/pub/msdos/ka9q-tcpip/, but it's supposed to
  542.         interoperate with UUPC and possibly other common PC UUCP mailers.
  543.  
  544.     * Martin W Freiss (freiss.pad@sni.de):
  545.     The next release of PCELM (3.1) is finished except for the manual
  546.     and some of the foreign language support. I don't know a release
  547.     date yet, but around June this year is probably realistic.
  548.  
  549.  
  550. 2.xx    Installation Answers
  551.  
  552. 2.01    On SCO Xenix, all mail is from user anonymous. Why?
  553.  
  554.     From Elm README:
  555.         On SCO Xenix, if you are all mail is from user anonymous,
  556.     this is because the mail delivery agent should be
  557.     /usr/lib/mail/execmail instead of /usr/bin/rmail or /bin/rmail.
  558.  
  559. 2.02    Elm doesn't work on Next. Why?
  560.  
  561.     The complete NeXT document by anderson@macc.wisc.edu is
  562.     available via anon ftp from: yak.macc.wisc.edu [144.92.30.18]
  563.     and via e-mail from me (serini@ghost.dsi.unimi.it)
  564.  
  565. 2.03    Compiling with Microsoft UNIX C Compilers won't work. Why?
  566.  
  567.     Thomas Bullinger (mrbulli@btoy1.UUCP):
  568.     On many systems with the Microsoft UNIX C Compilers (such as SCO),
  569.     compiling with optimization breaks the code.  One symptom is
  570.     that aliases do not work.
  571.     On those machines do not compile any of Elm with optimizations.
  572.     To accomplish that, set all occurences of "OPTIMZE" in the
  573.     makefiles to "-Od" - then it works.
  574.  
  575. 2.04    Various problems on Unix 286.
  576.  
  577.     From Elm README:
  578.         On some systems, especially those based on the AT&T Port to
  579.     286's the -O flag of the compiler produces improper code causing
  580.     segmentation violations.  If this happens, recompile the code without
  581.     the -O flag.  This has been seen with Microport SysV/AT type systems.
  582.  
  583.         The Configuration script has been known to exceed the default
  584.     stack size in Unix 286 sh's.  If Configure does not run correctly on
  585.     this type of machine increase the stack size and rerun it.  On
  586.     Microport SysV/AT machines, Configure might run correctly under ksh.
  587.     Obtain ksh from Microport (available to current version owners without
  588.     additional charge) and rerun Configure using it.
  589.  
  590.         Also on Microport SysV/AT Machines, the C compiler produces
  591.     improper code for one of the arithmetic calls.  To fix this
  592.     problem it is necessary to reduce the complexity of the
  593.     statement, as reported by one of our testers here is the
  594.     symptom and his patch.  Being this is a compiler bug on only
  595.     one system, we make the information available, but not incorporate
  596.     it in the main release.  Note, this may effect other areas
  597.     of Elm, and in the future, Microport may even fix this problem.
  598.     [Read the README file for the patches]
  599.  
  600. 2.05    Configure won't run on HP-UX. Why?
  601.  
  602.         From Elm README:
  603.         The Configuration script has been known to exercise an old bug
  604.     on HP-UX's version of /bin/sh.  This shows up as part of the variable
  605.     setting section showing up on your screen, and configure aborting
  606.     on errors.  If this happens, try using ksh instead of sh as in:
  607.         ksh Configure
  608.     this will usually solve the problem.
  609.  
  610. 2.06    Configure won't run on SCO XENIX 2.2.1. Why?
  611.  
  612.     Keith Brazington (keith@g4lzv.co.uk):
  613.     The solution is simple, up the stack size for /bin/sh. I used 
  614.  
  615.     # mv /bin/sh /bin/sh.old
  616.     # cp /bin/sh.old /bin/sh
  617.     # fixhdr -F 8000 /bin/sh
  618.      
  619.     This may seem a bit over the top, but I put it back after!
  620.  
  621. 2.07    Will Elm work on SGI Indigo?
  622.  
  623.         Syd Weinstein (syd@DSI.COM):
  624.     Well, I had no problems at all configuring and running Elm
  625.     on my SGI Iris under 4.0.5.
  626.     The biggie for SGI is to say Elm is a non ansi application,
  627.     so you need to  list -cckr as an additional compilation flag.
  628.     I took all the defaults from configure and it ran just fine.
  629.  
  630. 2.08    I have problems compiling elm2.4 on HP/Apollo
  631.  
  632.     Gordon D. Berkley (gordonb@mcil.comm.mot.com):
  633.     As of ELM2.4pl17, The system compiles cleanly (?) for Apollo.
  634.     This patch level includes many "fixes" that I submitted to ensure
  635.     this.  There *are* many compilor warnings, but they can safely
  636.     be ignored.
  637.  
  638.     I would suggest discarding any config.sh from a previous Configure,
  639.     though, as this will cause the corrections to NOT work.
  640.  
  641. 2.09    I have problems compiling elm2.4 on IBM AIX
  642.  
  643.     * Steve Adams (adams@spss.com):
  644.     >I am trying to compile the latest and greatest version of ELM on my
  645.     >RS/6000 running 3.2.? (exact level unclear). I received the following
  646.     >error messages about setgid being redefined:
  647.     >
  648.     >"init.c", line 128.16: 1506-132 (S) Function getgid cannot be
  649.     >redeclared.
  650.     >"init.c", line 128.26: 1506-132 (S) Function getuid cannot be
  651.     >redeclared.
  652.  
  653.     You can get around the problem defining -U__STR__ during 'Configure'
  654.     It will be fixed in PL22.
  655.  
  656.     * From the monthly posting:
  657.         This version of Elm 2.4 should not require any changes
  658.         to the configure run to link under AIX 3.2 or newer.
  659.     On IBM RISC 6000 AIX, prior to 3.2, you might get string
  660.         function errors on the compile.
  661.     The solution is to do the following:
  662.  
  663.     Look at /usr/lpp/bos/bsdsport. It tells you to add
  664.     following lines to /etc/xlc.cfg:
  665.         * BSD 4.3 c compiler stanza
  666.         bsdcc:  use        = DEFLT
  667.             crt        = /lib/crt0.o
  668.             mcrt       = /lib/mcrt0.o
  669.             gcrt       = /lib/gcrt0.o
  670.             libraries  = -lbsd, -lc
  671.             proflibs   = -L/lib/profiled,-L/usr/lib/profiled
  672.             options    = -H512,-T512, -qlanglvl=extended, -qnoro,
  673.                      -D_BSD, -D_NONSTD_TYPES, -D_NO
  674.  
  675.         And then link bsdcc to xlc and use bsdcc instead of cc.
  676.  
  677.     In addition, Elm should be linked with the curses lib
  678.     and not termcap lib if /etc/termcap is not there.
  679.     (You can always copy the termcap database to etc
  680.     (or make a symlink)).
  681.  
  682. 2.10    Compiling elm 2.4 under NS 3.0
  683.  
  684.     Paul Terray (popaul@binkley.cs.mcgill.ca):
  685.     Check if fcntl.h is included somewhere (as it probably is).
  686.     It contains most of the declaration the program are looking for.
  687.     If not, include it. Then, just comment the include line for unistd.h.
  688.  
  689. 2.11    Elm sends 'empty mail' on 386BSD: why?
  690.  
  691.     * From the monthly posting:
  692.     On 386bsd, the shell that is shipped with the system,
  693.     ash, does not work for sending messages within Elm.  Mail
  694.     messages have headers only and no body.  Replacing the shell
  695.     with bash (from GNU) seems to solve the problem.  The bash
  696.     shell is in the 'etc' distribution of 386BSD.
  697.  
  698.     * Another solution if you can't get a fixed shell
  699.     is to change line 520 in mailmsg2.c to:
  700.     sprintf(very_long_buffer,"( (%s %s %s < %s ; %s %s) & )",
  701.         mailer, mailerflags, expanded_to, whole_msg_file,
  702.         remove_cmd, whole_msg_file);
  703.  
  704. 2.12    Why can't I get SGI to work for non ROOT?
  705.  
  706.         From the monthly posting:
  707.         SGI, at 3.3, doesn't have vfork, but instead a stub that does
  708.         not work.  Make sure vfork is undef in the configuration.
  709.  
  710. 2.13    I have problems p)rinting messages in 2.4PL20
  711.  
  712.     When I try and print a message, I get
  713.     "readmsg: Cannot find start of selected message". Why?
  714.  
  715.     Chip Rosenthal (chip@chinacat.Unicom.COM):
  716.     Please take a look at the From_ line of the message you are trying to
  717.     print.  I'm going to guess that it has a complex address, maybe with
  718.     some quoting or special characters, or maybe a strange date syntax.
  719.  
  720.     The utilities in the current Elm release (including `readmsg') use
  721.     very simpleminded routines to crack the From_ lines.  Some headers
  722.     that Elm handles fine confuse these utilities.  One of the larger
  723.     changes in the next Elm update will be moving all of the From_ and
  724.     ~Date: processing out of the main Elm code and into the library, so
  725.     the utilities (including `readmsg') will use the same algorithms as
  726.     Elm.
  727.  
  728.     If you look at the From_ line and it doesn't seem particularly
  729.     unusual, feel free to drop me a line.  Most of the changes to
  730.     readmsg and Elm printing came from my hands, and I'm working on
  731.     the aforementioned changes too.  If there is something else broke
  732.     in there, I'd be glad to look at it.
  733.  
  734. 2.14    Elm2.4 PL20 - 'x' key causes segmentation violation
  735.  
  736.     Nigel Metheringham (nigelm@ohm.york.ac.uk):
  737.     in the file src/exitprog.c, there is a line
  738.         char *msg, answer;
  739.     replace it with
  740.         char msg[SLEN], answer;
  741.  
  742. 2.15    readmsg:illegal option -- I. Why?
  743.  
  744.     Chip Rosenthal (chip@chinacat.Unicom.COM):
  745.     It means you installed an updated `elm' binary but continue
  746.     to use an old version of `readmsg'.
  747.  
  748. 2.16    Forms don't work. Why?
  749.  
  750.     Syd Weinstein (syd@DSI.COM):
  751.     If you have `forms = ON' in elmrc, Forms is there, but
  752.     the menu items to make a form require that user level
  753.     be set off beginner.  (anything but 0 (beginner))
  754.  
  755. 2.17    ELM does not recognize VMS mail. Why?
  756.  
  757.     * This is fixed in Pl22.
  758.     
  759.     * Syd Weinstein (syd@DSI.COM):
  760.     Looks to me like you found a bug in Elm's quote parsing routines.
  761.     It just needs to be looked into.
  762.  
  763.     Reported from: Steen Hammerum (kel2sh@uts.uni-c.dk)
  764.  
  765. 2.18    Huge headers cause Memory Fault. Why?
  766.  
  767.     Syd Weinstein (syd@DSI.COM):
  768.     Any part of Elm at the 2.x level will abort if given a header line
  769.     that is too long.  It uses fixed length buffers, and at some point
  770.     they overflow, and none too gracefully.
  771.     3.x will support dynamic strings to solve this problem.
  772.  
  773. 2.19    Can I use elm for posting and replying to news?
  774.  
  775.         * Andreas Spiegl (spiegl@cs.utexas.edu):
  776.         In order to set things up so elm is your mailer when you
  777.         respond r or R to a news article in rn or trn, define an
  778.         environment variable RNINIT that points to an initialization
  779.         file for rn/trn. E.g. .rnrc
  780.         Then put the following line in this file (.rnrc):
  781.         -EMAILPOSTER="elm -i %h -s \"Re: %S\" %t"
  782.         This is from now on telling rn to start elm with the appropriate
  783.         parameters whenever you reply to an article and works great.
  784.         But:  --> This is not for followup postings on the usenet! <--
  785.         If you want to use elm in order to post article, you'd need a
  786.         line with -ENEWSPOSTER instead of -EMAILPOSTER. Then you would
  787.         tell elm (once it was evoked by rn/trn) that you want to send
  788.         this to newsgroupname-with-dashes-instead-of-dots@cs.utexas.edu,
  789.         for example use "comp-mail-misc@cs.utexas.edu". This will post
  790.         your email message to the usenet.
  791.         This is not very convenient though, as you have to convert the
  792.         address manually. Unless you write a nice script for it, of course.
  793.         Be sure to send me a copy if you do. :-)
  794.  
  795.         * Mike O'Connor (mjo@iao.ford.com):
  796.         Of course, the DEC gateway allows one to gateway email to Usenet with
  797.         email addresses of the following format:
  798.         comp.mail.misc.usenet@decwrl.dec.com
  799.         and has the additional advantage that they carry a LOT of the regional
  800.         newsgroups.
  801.         I still think piping it to sendmail with a macro for R is the way to
  802.         go.  This allows you to use the mailer of your choice, be it elm or
  803.         pine or Berkeley Mail or Z-Mail or whatever.  This gets it into your
  804.         /usr/spool)/mail or /usr/mail or /var/mail or wherever.
  805.         
  806.  
  807. 3.0    Bugs list
  808.  
  809.     This list is included for completeness in the ftp version only.
  810.     please, ftp to ghost.dsi.unimi.it as stated at the beginning
  811.     of this FAQ to get it.
  812.  
  813.     You can get it via a mail server,too:
  814.     Syd Weiunstein (syd@DSI.COM):
  815.     The script I use to get it is:
  816.         smail elmbugs@ohm.york.ac.uk <<\!
  817.         Subject: command
  818.         @SH elmbugs elm@dsi.com
  819.         !
  820.  
  821. 4.0     Archivers
  822.  
  823.     This is the list of Internet and UUCP sites distributing
  824.     the latest version of Elm, from the Elm monthly posting.
  825.  
  826. 4.0.1   The following sites have agreed to make Elm available
  827.     via anonymous ftp.
  828.  
  829.         Site                    Contact
  830.  
  831.         In the US/Canada:
  832.         wuarchive.wustl.edu     David J. Camp, david@wubios.WUstl.EDU
  833.         (128.252.135.4)
  834.         /mirrors/elm
  835.  
  836.         ftp.uu.net
  837.         (137.39.1.9, 192.48.96.9)
  838.         /networking/mail/elm
  839.  
  840.         In Europe:
  841.     ftp.cs.ruu.nl           Edwin Kremer, edwin@cs.ruu.nl
  842.         (131.211.80.17)
  843.         /pub/ELM-2.4
  844.  
  845.     ftp.th-darmstadt.de     ftpadmin@ftp.th-darmstadt.de
  846.     (130.83.55.75)
  847.     /pub/networking/mail/elm
  848.  
  849.         In the UK:
  850.         uk.ac.soton.ecs         T.Chown@ecs.soton.ac.uk (bitnet)
  851.         (152.78.64.201)         T.Chown@uk.ac.soton.ecs (JANET)
  852.  
  853.         ftp.demon.co.uk         Cliff Stanford, cliff@demon.co.uk
  854.         (158.152.1.65)
  855.         /pub/unix/mail/elm
  856.  
  857.         In Australia:
  858.         ftp.adelaide.edu.au     Mark Prior, mrp@itd.adelaide.edu.au
  859.         (129.127.40.3)
  860.         /pub/mailers
  861.  
  862.         In Taiwan:
  863.         NCTUCCCA.edu.tw         Huang, Chih-Hsien hch@NCTUCCCA.edu.tw
  864.         (140.111.3.21)
  865.         /packages/mail/elm
  866.  
  867.  
  868. 4.0.2    The following sites have agreed to make Elm available
  869.     via anonymous uucp:
  870.  
  871.         Site                    Contact
  872.  
  873.         uunet                   Elm is /networking/mail/elm
  874.  
  875.         dsinc                   Syd Weinstein
  876.                                 syd@dsi.com, dsinc!syd
  877.                                 note: anon uucp info changed 12/16/91
  878.                                 For further info, send an e-mail
  879.                                 message to archive-server@dsi.com stating:
  880.                                 send anon how-to dir
  881.  
  882.         stanton                 Steven P. Donegan
  883.                                 donegan@stanton.cts.com, stanton!donegan 
  884.                                 714-894-2246 uucp - nuucp no word
  885.                                 Elm is /u/public/elm2.3.tar.Z
  886.  
  887. ----------------------
  888. *** END of Elm FAQ *** This file has not been truncated
  889.  
  890. -- 
  891. Piero Serini                                 Computer Science Dept. 
  892. <serini@ghost.dsi.unimi.it>          Univ. Statale - Milano - ITALY
  893.